%%
close all;clear;clc;
%%

fc = 500;
A = 10;
sys1 = leadlag_sys({"z", 1e-3}, fc, A)

kp = 1;
fi = 0;
fd = 500;
sys2 = pid_sys({"s"}, kp, fi, fd)

Op = bodeoptions;
Op.FreqUnits = 'Hz';
bode(sys1, Op)
hold on
bode(sys2, Op)
legend(["boost", "pd"])
%%
